package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆管理对象 car
 * 
 * @author ximu
 * @date 2023-03-17
 */
public class Car extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆id */
    private Long carId;

    /** 归属用户 */
    @Excel(name = "归属用户")
    private Long userId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 备注 */
    @Excel(name = "备注")
    private String carInfo;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setCarInfo(String carInfo) 
    {
        this.carInfo = carInfo;
    }

    public String getCarInfo() 
    {
        return carInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("userId", getUserId())
            .append("carNum", getCarNum())
            .append("carInfo", getCarInfo())
            .toString();
    }
}
